package com.jiang.vo;

import java.io.Serializable;
import java.util.List;

@SuppressWarnings("serial")
public class Item implements Serializable {

	private Integer iid;
	private String title;
	private List<SubItem> subItems;

	public Item() {

	}

	public Item(Integer iid, String title, List<SubItem> subItems) {
		super();
		this.iid = iid;
		this.title = title;
		this.subItems = subItems;
	}

	public Integer getIid() {
		return iid;
	}

	public void setIid(Integer iid) {
		this.iid = iid;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public List<SubItem> getSubItems() {
		return subItems;
	}

	public void setSubItems(List<SubItem> subItems) {
		this.subItems = subItems;
	}

	@Override
	public String toString() {
		return "Item [iid=" + iid + ", title=" + title + ", subItems=" + subItems + "]";
	}

}
